<ion-view view-title="订单详情"  hide-tabs="true" >
  <!-- 头部 -->
  <ion-header-bar align-title="center" class="bar-positive">
    <div class="buttons">
      <button class="button-go-back" ng-click="goback()"><i class="icon ion-chevron-left"></i></button>
    </div>
    <h1 class="title">订单详情</h1>
  </ion-header-bar> 
  <ion-content id="consume_del" [scroll="true"] [overflow-scroll="true"] class="APP_BG_color">
    <div class="box">
        <div class="top">
            <img ng-src="img/icons/order_icon.png" alt="logo">
            <span class="shop_name">
                {{data.shop_name}}  
                <!-- 京酱肉丝 -->
            </span>
            <span class="right state_1"  ng-class="{true:'state_1',false:'state_0'}[data.status == 1]">
                {{data.status | order_status}}  
                <!-- 已支付 -->
            </span>

        </div>
        <div class="top">
            <span class="shop_name" style="font-size:14px;font-family:PingFangSC-Regular;color:rgba(33,33,33,1);">
               <!-- 多效修护洁面乳 -->
               {{data.trade_name}}
            </span>
            <span class="right state_1" style=" font-size:14px;font-family:HelveticaNeue;color:rgba(33,33,33,1);">
               <!-- x 1 -->
               x {{data.trade_num}}
            </span>
        </div>
        <p class="bot"  style=" border-top: 1px solid #EEEEEE;padding-top:8px;">
            <span class="time">零售金额合计</span>
            <span class="pay right">
                <!-- 49.00 -->
                {{data.total_amount}}
            </span>
        </p>
        <!-- <p class="bot">
            <span class="time">折扣金额合计</span>
            <span class="pay right">
                {{}}
            </span>
        </p> -->
        <p class="bot">
            <span class="time">应付金额</span>
            <span class="pay right">
                <!-- 49.00 -->
                {{data.total_amount}}
            </span>
        </p>
        <p class="bot">
            <span class="time">实际支付</span>
            <span class="pay right">
                <!-- 49.00 -->
               {{data.total_amount}}
            </span>
        </p>
        <p class="bot">
            <span class="time">支付方式</span>
            <span class="pay right">
               <!-- 支付宝  -->
               {{data.type | pay_type}}
            </span>
        </p>
        <p class="bot" style=" border-bottom: 1px solid #EEEEEE;padding-bottom:9px;">
            <span class="time">支付时间</span>
            <span class="pay right">
                {{data.createtime | date:'yyyy-MM-dd hh:mm:ss'}}
            </span>
        </p>
    </div>
    <div class="box" style="padding-top:8px;">
        <p class="bot">
            <span class="time">手机号</span>
            <span class="pay right">
            {{data.member_phone}}
            </span>
        </p>
        <p class="bot">
            <span class="time">会员卡号</span>
            <span class="pay right">
            {{data.member_card}}
            </span>
        </p>
        <p class="bot">
            <span class="time">本次积分</span>
            <span class="pay right">
            {{data.total_point}}
            </span>
        </p>
        <p class="bot" style="margin-bottom:10px;">
            <span class="time">累计积分</span>
            <span class="pay right">
            {{data.total_point}}
            </span>
        </p>
    </div>
  </ion-content>
</ion-view>